package com.soft.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("goods")
public class Goods {
    public Long getGid() {
		return gid;
	}
	public void setGid(Long gid) {
		this.gid = gid;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public String getGprice() {
		return gprice;
	}
	public void setGprice(String gprice) {
		this.gprice = gprice;
	}
	@TableId(value="goods_id",type=IdType.AUTO)
    
    private Long gid;
    @TableField("goods_name")
	private String gname;
    @TableField("goods_price")
    private String gprice;
    @TableField("goodsloc_id")
    private Long goodslocid;
	public Long getGoodslocid() {
		return goodslocid;
	}
	public void setGoodslocid(Long goodslocid) {
		this.goodslocid = goodslocid;
	}

}